package com.rchat.pocmini.db;

import android.content.Context;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by 59450 on 2017/3/16.
 */

public class BasePocDao extends BaseDaoImpl {
    private static final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";

    protected SQLiteOpenHelper mSQLiteOpenHelper = null;

    public BasePocDao(Context context) {
        super();
        this.mContext = context;
        mSQLiteOpenHelper = PocDbHelper.get(context);
        //OPEN 先放这里。。。
        mDB = mSQLiteOpenHelper.getWritableDatabase();
    }

    @Override
    protected final SQLiteOpenHelper getDbHelper() {
        return mSQLiteOpenHelper;
    }


}

